using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace Elev.UI
{
    public partial class TipForm : Form
    {
        public TipForm()
        {
            InitializeComponent();
        }

        void okButton_Click(object sender, EventArgs e)
        {
            Close();
        }

        void Form_KeyDown(object sender, KeyEventArgs e)
        {
            switch (e.KeyCode)
            {
                case Keys.Return:
                case Keys.Escape:
                    Close();
                    break;
            }
        }

        void helpLinkLabel_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            string helpURL = "http://jchomarat.free.fr/elev/videoguide.htm";
            System.Diagnostics.Process.Start(helpURL);
        }
    }
}